﻿﻿using System;
using System.Collections.Generic;
using System.Text;
namespace WebApplication1.DDD.Models.Entity.ConnectionString_SQLSERVER
{
    public class Member_ReciveMsg:NFinal.Struct
    {
		public System.Int64? Sn {get;set;}
		public System.DateTime? AddTime {get;set;}
		public System.String OpenId {get;set;}
		public System.String MsgType {get;set;}
		public System.String MsgInfo {get;set;}
		#region 写Json字符串
		public override void WriteJson(System.IO.TextWriter tw)
		{
			tw.Write("{");
					tw.Write("\"Sn\":");
					tw.Write(Sn==null?"null" : Sn.ToString());
					tw.Write(",");
					tw.Write("\"AddTime\":");
					tw.Write("\"");
					tw.Write(AddTime==null?"null":AddTime.ToString());
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"OpenId\":");
					tw.Write("\"");
					tw.Write(OpenId==null?"null":OpenId);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"MsgType\":");
					tw.Write("\"");
					tw.Write(MsgType==null?"null":MsgType);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"MsgInfo\":");
					tw.Write("\"");
					tw.Write(MsgInfo==null?"null":MsgInfo);
					tw.Write("\"");
			tw.Write("}");
		}
		#endregion
    }
}
